#ifndef _SELECTRULE_H_
#define _SELECTRULE_H_

#include "MgrBase.h"
#include "SimpleRefection.h"



class CombatObj;
class SelectRule:public ReflectionBase
{
	DECL_REFLECTION(SelectRule,"../../config/SelectorRule.xml");
public:
	void ApplyRule( std::vector<CombatObj*>& vInputs) const ;

	int32 m_iID;
	std::string m_sDisplayName;
	uint32 m_iNum;
	ERuleSort m_eSortby;//ERuleSort
	ERuleSelectOrder m_eOrder;//ERuleSelectOrder 
	rewrite  virtual void OnArchieveReaded(){}
private:
	

};
typedef DefMangerTpl<SelectRule> SelectRuleManager;
#endif